package com.hkts.naturalgas.workovertime.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2023-08-31
 */
public class HkOvertimeInfo extends Model<HkOvertimeInfo> {

private static final long serialVersionUID=1L;

                            private String id;
        private String createBy;
        private LocalDateTime createTime;
        private Integer delFlag;
        private String updateBy;
        private LocalDateTime updateTime;
    /**
     * 审批名称
     */
        private String assessmentName;
    /**
     * 审批状态
     */
        private String assessmentStatus;
    /**
     * 审核结束时间
     */
        private LocalDateTime endTime;
    /**
     * 流程实例id
     */
        private String processInstanceId;
    /**
     * 流程id
     */
        private String flowTemplateId;
    /**
     * 1.加班2.调休
     */
        private Integer flowTemplateType;
    /**
     * 总时长
     */
        private Float totalHours;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getCreateBy(){
            return createBy;
            }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }

    public String getUpdateBy(){
            return updateBy;
            }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
            }

    public LocalDateTime getUpdateTime(){
            return updateTime;
            }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
            }

    public String getAssessmentName(){
            return assessmentName;
            }

        public void setAssessmentName(String assessmentName) {
            this.assessmentName = assessmentName;
            }

    public String getAssessmentStatus(){
            return assessmentStatus;
            }

        public void setAssessmentStatus(String assessmentStatus) {
            this.assessmentStatus = assessmentStatus;
            }

    public LocalDateTime getEndTime(){
            return endTime;
            }

        public void setEndTime(LocalDateTime endTime) {
            this.endTime = endTime;
            }

    public String getProcessInstanceId(){
            return processInstanceId;
            }

        public void setProcessInstanceId(String processInstanceId) {
            this.processInstanceId = processInstanceId;
            }

    public String getFlowTemplateId(){
            return flowTemplateId;
            }

        public void setFlowTemplateId(String flowTemplateId) {
            this.flowTemplateId = flowTemplateId;
            }

    public Integer getFlowTemplateType(){
            return flowTemplateType;
            }

        public void setFlowTemplateType(Integer flowTemplateType) {
            this.flowTemplateType = flowTemplateType;
            }

    public Float getTotalHours(){
            return totalHours;
            }

        public void setTotalHours(Float totalHours) {
            this.totalHours = totalHours;
            }

    public static final String ID ="id";

    public static final String CREATE_BY ="create_by";

    public static final String CREATE_TIME ="create_time";

    public static final String DEL_FLAG ="del_flag";

    public static final String UPDATE_BY ="update_by";

    public static final String UPDATE_TIME ="update_time";

    public static final String ASSESSMENT_NAME ="assessment_name";

    public static final String ASSESSMENT_STATUS ="assessment_status";

    public static final String END_TIME ="end_time";

    public static final String PROCESS_INSTANCE_ID ="process_instance_id";

    public static final String FLOW_TEMPLATE_ID ="flow_template_id";

    public static final String FLOW_TEMPLATE_TYPE ="flow_template_type";

    public static final String TOTAL_HOURS ="total_hours";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HkOvertimeInfo{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", assessmentName=" + assessmentName +
                ", assessmentStatus=" + assessmentStatus +
                ", endTime=" + endTime +
                ", processInstanceId=" + processInstanceId +
                ", flowTemplateId=" + flowTemplateId +
                ", flowTemplateType=" + flowTemplateType +
                ", totalHours=" + totalHours +
        "}";
        }
        }
